Skip to content

fix(i18n): an approval rejection reads 驳回 in Chinese on the runtime surfaces - #35175

Merged
objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/issue-35021-approval-reject-wording
Nov 18, 2026
Merged

objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/issue-35021-approval-reject-wording

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #35021
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:审批运行界面(审批中心、记录页审批条、审批动态、审批请求页的驳回按钮与状态、邮件确认页)的中文从「拒绝」改为「驳回」;简体 21 条、繁体 21 条界面词条,审批插件 zh-CN 5 处标签,邮件页 3 处。
  • 为什么改:设计器里审批分支叫「驳回」,审批人点的却是「拒绝」,同一件事两个说法;按裁决 6973602227(选项 A)统一为「驳回」。
  • 风险与回滚:只改显示文案,存储的状态 rejected 和动作键 reject 不变;权限、邀请、AI 工具审批里的「拒绝」保留。回滚即 revert 本 PR。
  • 先看:ui/packages/i18n/src/locales/zh-Hans.ts 的 approvalsInbox 块(21 处);packages/plugins/plugin-approvals/src/translations/zh-CN.objects.generated.ts(驳回按钮、状态、审批动态);packages/plugins/plugin-approvals/src/action-link-pages.ts(邮件确认页)。
  • 两分钟验证:pnpm --dir ui exec vitest run packages/i18n/src/__tests__/approval-reject-wording-35021.test.ts,预期 9 条全绿;或在 zh-CN 下打开审批中心,行内按钮显示「通过」「驳回」,已驳回的请求状态显示「已驳回」。
  • 需要你做的:无,席位落地。

What changes

Display text only. The stored status rejected and the action key reject are unchanged; en and every other language are untouched.

  • @object-ui/i18n, approvalsInbox, zh-Hans 拒绝 to 驳回 and zh-Hant 拒絕 to 駁回 (21 keys each): statusRejected, sendBackAutoRejected, keyboardHint, actReject, reject, rejecting, rejectN, bulkRejectTitle (+ _one, _other), bulkRejectBody, bulkRejected (+ _one, _other), rejectOneTitle, rejectOneBody, rejectTitle, rejectBody, inlineRejected, rejectedToast, whyDisabledSubmitter. zh-Hant was regenerated with pnpm --filter @object-ui/i18n gen:zh-hant, which reports it byte-identical to the committed file ("already current").
  • @objectstack/plugin-approvals, zh-CN bundle (hand-written translated leaf values, no key added or dropped; check:i18n in sync): sys_approval_request status rejected 已驳回; _actions.approval_reject label 驳回, description 驳回该请求?驳回对所有审批人立即生效。, successMessage 已驳回“…”; sys_approval_action action option reject 驳回. The zh-Hant bundle already said 駁回 everywhere and is unchanged.
  • action-link-pages.ts (email action-link confirm and result pages): Reject · 驳回, 确认驳回该审批请求?, ⛔ Rejected · 已驳回.

Which key family serves each runtime surface named in the ruling: the inbox page, the record approvals panel, the approval decision panel and the history timeline read approvalsInbox.* (actReject, statusRejected, the confirm and toast keys); the record-page reject lever, its confirm question and success toast are the declared sys_approval_request action, localized from the plugin bundle (the admin-override label wraps that same declared label); the generic object views read the plugin bundle's status and action options.

Kept, with the reason (zh-Hans, mirrored in zh-Hant; 39 lines still carry 拒 in each pack):

  • Access denial or a refusal by the server: form.navigateRefused, list.loadErrorRejectedTitle, the list.userFilters formula-sort hint, console.importMappingsRefused, console.savedViewsRefused, console.settingsView.cryptoRefusalNoSubject, console.settingsView.mapKeyNotOfferedHint, console.assignedWork.transferRefused, auth.device.deny / denying / deniedTitle / denyFailed, oauth.consent.deny / denied, errors.forbidden, preview.changes.securityBlockTitle (+ _one, _other), preview.changes.securityRule.cbpNoRelation / cbpAmbiguousRelation, organization.settings.deleteConfirmDescription, cloudConnection.errors.accessDenied, marketplace.install.dependencyMissing.heading, connectorConnections.redirectUriMissing, element.component.apiRefused.
  • Declining an invitation: organization.invitations.status.rejected, organization.accept.decline / declined / declineFailed.
  • AI tool approvals, a different concept: aiApprovals.statusRejected / reject / outcomeReject / fieldRejectionReason / rejectTitle, console.system.aiApprovals.subtitle, console.ai.toolDenyReason, chatbot.toolState.denied.
  • An upstream provider rejecting a connector credential (not approval): connectorCredentials.statusRejected (被拒绝) and connectorCredentials.rejectedReason.

Not touched, as ruled: the designer and flow canvas (engine.inspector.flowEdge.branchReject 驳回, engine.flowCanvas.rejectedEnd 已驳回, the Problems-tab hint that interpolates the branch label), the server notifications (translations/messages.ts, already 驳回 / 駁回, no 拒绝 for approval), 「退回」 (send-back).

Tests

  • New ui/packages/i18n/src/__tests__/approval-reject-wording-35021.test.ts: for zh-Hans and zh-Hant, no approvalsInbox string says 拒绝 / 拒絕 (enumeration asserted non-empty), every key named for the reject decision says 驳回 / 駁回, the decision verb and status read 驳回 / 已驳回, and access denial, invitations and aiApprovals keep 拒绝; plus the agreement case the card's acceptance asks for: the runtime actReject equals the designer's branchReject, and statusRejected equals the canvas rejectedEnd.
  • New packages/plugins/plugin-approvals/src/approval-reject-wording-35021.test.ts: through the real resolvers (translateMetadataDocument, translateObject), zh-CN and zh-Hant read 驳回 / 駁回 for the reject lever, the rejected status and the reject history row; the lever's question and toast say it; no sys_approval_request / sys_approval_action string in either bundle says 拒绝 / 拒絕; the email confirm and result pages say 驳回 and no 拒绝.
  • Updated pins: approval-status-vocabulary.test.ts zh-CN rejected is 已驳回; approvalOverride-zh-wording-13402.test.ts composes 管理员代为驳回 from the reject lever's label.

Acceptance notes

  • Ablation, one per behaviour, through scripts/ablation-replace.mjs (anchor hit 1 to 0, blob moved, restored to the HEAD blob with git diff HEAD empty): zh-Hans actReject back to 拒绝 turns the ui pin red (4 of 9 failed, including the designer-agreement case); the zh-CN approval_reject label back to 拒绝 turns the plugin pin red (2 of 7 failed). No build was involved: both suites import the edited files by relative path.
  • Observed, not filed (not one of the three filing classes): the approve wording also differs across surfaces, the plugin bundle saying 已批准 / 批准 (zh-Hant 核准) where the inbox says 已通过 / 通过; outside this card's ruling.
  • The designer's approval-node inspector help (ui/packages/app-shell/src/views/metadata-admin/i18n.ts) still says 拒绝 in five strings (the mode help, the status-mirror help, the escalation help and its auto_reject option 自动拒绝, the revision-limit help). The ruling keeps the designer unchanged, so they are left; raised to the seat as an open question.

Verification

All readings on head f850687b6 (branch merged with origin/main 2fea6d2a1), except the targeted runs and ablations, taken on d863192a0 before the merge, which touched neither package.

Tests
  • pnpm --dir ui exec vitest run packages/i18n/ (verify lock): VERDICT command-exit 0, Test Files 104 passed (104), Tests 1956 passed, 13 skipped.
  • pnpm --filter @objectstack/plugin-approvals exec vitest run --maxWorkers=2 (verify lock): VERDICT command-exit 0, Test Files 123 passed (123), Tests 1748 passed (1748).
  • pnpm --filter @objectstack/plugin-approvals typecheck: exit 0, test layer held at the ledgered 321 errors in 8 files, the new test file adds none.
  • pnpm --filter @object-ui/i18n type-check: exit 0, after building its dependency closure (the first run exited 2 on TS6305, ui/packages/core/dist not yet built; the test program lists both edited test files).
  • Ablation runs: see Acceptance notes.
Local gates
  • dispatch-gates.mjs --commands on this tree: 71 families; --ran reconciliation: 71 accounted, 70 run with exit 0, 1 NOT MEASURED, 0 unrun.
  • NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET (it reads every package's dist, and this worktree built only the two packages' closures); CI runs it.
  • Exit 0 among them: pnpm check:i18n (10 packages, all bundles in sync), pnpm check:i18n-stale-fill, pnpm check:keyed-text-bounds, pnpm check:role-word, pnpm check:published-files, pnpm check:undeclared-dep-imports, pnpm check:nul-bytes, pnpm check:cross-package-test-inputs, pnpm check:test-source-alias, pnpm check:type-check-debt, node scripts/check-adr-0087-registration.mjs --base origin/main, node scripts/check-closing-keyword-parity.mjs, node scripts/check-issue-citations.mjs, pnpm --dir ui exec vitest run scripts/ (Test Files 171 passed, 2 skipped).
  • pnpm --dir ui check:new-line-citations: 0 new citations.
  • node scripts/pm/overlap-check.mjs: VERDICT clean; feat(account): a Notification Settings page for each person's own notification preferences #35122 shares both locale files and merges cleanly.

Generated by Claude Code

The approvals inbox, the record approval bar, the history timeline, the
sys_approval_request reject lever and status, the sys_approval_action reject
row and the email action-link pages now say 驳回 (zh-Hant 駁回), the word the
flow designer and the server notifications already use. 拒绝 stays for access
denial, invitations and AI tool approvals. Display text only: the stored
`rejected` status and the `reject` action key do not change.

Claude-Session: https://claude.ai/code/session_01JQwxbXBffgVtUPBEY2nLFm
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 18, 2026
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/plugin-approvals, touching 3 documentable anchor(s).

7 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/ai/connect-mcp.mdx (via sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/automation/approvals.mdx (via sys_approval_action (symbol, a field of const object zhCNObjects), sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/automation/flows.mdx (via sys_approval_action (symbol, a field of const object zhCNObjects), sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/automation/workflows.mdx (via sys_approval_action (symbol, a field of const object zhCNObjects), sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/data-modeling/field-types.mdx (via sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/plugins/packages.mdx (via sys_approval_action (symbol, a field of const object zhCNObjects), sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/ui/translations.mdx (via sys_approval_request (symbol, a field of const object zhCNObjects))

⛔ 4 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v16.mdx (via sys_approval_action (symbol, a field of const object zhCNObjects), sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/releases/v17/17-6.mdx (via sys_approval_request (symbol, a field of const object zhCNObjects))
  • content/docs/releases/v17/17-7.mdx (via sys_approval_action (symbol, a field of const object zhCNObjects))
  • content/docs/releases/v18/18-4.mdx (via sys_approval_request (symbol, a field of const object zhCNObjects))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 1 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 6 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 7d8dcf693af597f1cbb5b21ee705ae8d9ad8437d → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 25928c806903c27537c29130e2b112ade2546f9c — the merge of head c3e9590d20de6d29833d3d3550d490d07f563b7b into base 7d8dcf693af597f1cbb5b21ee705ae8d9ad8437d, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 25928c806903c27537c29130e2b112ade2546f9c && git checkout 25928c806903c27537c29130e2b112ade2546f9c
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 7d8dcf693af597f1cbb5b21ee705ae8d9ad8437d c3e9590d20de6d29833d3d3550d490d07f563b7b && git checkout -B drift-repro 7d8dcf693af597f1cbb5b21ee705ae8d9ad8437d && git merge --no-ff c3e9590d20de6d29833d3d3550d490d07f563b7b

node scripts/docs-audit/affected-docs.mjs --json 7d8dcf693af597f1cbb5b21ee705ae8d9ad8437d

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 7d8dcf693af597f1cbb5b21ee705ae8d9ad8437d → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…reject decision

The multi-approver help, the status-mirror help, the escalation help and its
auto_reject option label, and the revision-limit help move from 拒绝 to 驳回,
the word of the approval branch and of the runtime. The auto_reject value is
unchanged; the end node's refused outcome and the API-key, bulk-update and
audit-outcome refusals keep 拒绝.

Claude-Session: https://claude.ai/code/session_01JQwxbXBffgVtUPBEY2nLFm
Co-authored-by: Claude <noreply@anthropic.com>
…'s approval panel

Claude-Session: https://claude.ai/code/session_01JQwxbXBffgVtUPBEY2nLFm
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm

PR body, round 2 (supersedes the body text above for review). This covers fix round 2: the designer approval-node strings, under Premise corrected 6975255638 on #35021 and claim amendment 6975277471. post-stamped refuses a body whose first line is Fixes #35021 rather than the signature, so the round-2 body is posted here and the PR body keeps its round-1 text. Head c3e9590d20de6d29833d3d3550d490d07f563b7b.


Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:审批运行界面(审批中心、记录页审批条、审批动态、审批请求页的驳回按钮与状态、邮件确认页)和流程设计器审批节点的属性说明,中文从「拒绝」改为「驳回」;简体 21 条、繁体 21 条界面词条,审批插件 zh-CN 5 处标签,邮件页 3 处,设计器审批节点 5 处。
  • 为什么改:设计器里审批分支叫「驳回」,审批人点的却是「拒绝」,同一件事两个说法;按裁决 6973602227(选项 A)统一为「驳回」,前提更正 6975255638 把设计器审批节点里仍写「拒绝」的说明一并纳入。
  • 风险与回滚:只改显示文案,存储的状态 rejected、动作键 reject 和超时动作值 auto_reject 都不变;权限、邀请、AI 工具审批、结束节点「已拒绝」结果里的「拒绝」保留。回滚即 revert 本 PR。
  • 先看:ui/packages/i18n/src/locales/zh-Hans.ts 的 approvalsInbox 块(21 处);packages/plugins/plugin-approvals/src/translations/zh-CN.objects.generated.ts(驳回按钮、状态、审批动态);ui/packages/app-shell/src/views/metadata-admin/i18n.ts 的 approval 块(设计器审批节点 5 处)。
  • 两分钟验证:pnpm --dir ui exec vitest run packages/i18n/src/__tests__/approval-reject-wording-35021.test.ts,预期 9 条全绿;或在 zh-CN 下打开审批中心,行内按钮显示「通过」「驳回」,已驳回的请求状态显示「已驳回」。
  • 需要你做的:无,席位落地。

What changes

Display text only. The stored status rejected and the action key reject are unchanged; en and every other language are untouched.

  • @object-ui/i18n, approvalsInbox, zh-Hans 拒绝 to 驳回 and zh-Hant 拒絕 to 駁回 (21 keys each): statusRejected, sendBackAutoRejected, keyboardHint, actReject, reject, rejecting, rejectN, bulkRejectTitle (+ _one, _other), bulkRejectBody, bulkRejected (+ _one, _other), rejectOneTitle, rejectOneBody, rejectTitle, rejectBody, inlineRejected, rejectedToast, whyDisabledSubmitter. zh-Hant was regenerated with pnpm --filter @object-ui/i18n gen:zh-hant, which reports it byte-identical to the committed file ("already current").
  • @objectstack/plugin-approvals, zh-CN bundle (hand-written translated leaf values, no key added or dropped; check:i18n in sync): sys_approval_request status rejected 已驳回; _actions.approval_reject label 驳回, description 驳回该请求?驳回对所有审批人立即生效。, successMessage 已驳回“…”; sys_approval_action action option reject 驳回. The zh-Hant bundle already said 駁回 everywhere and is unchanged.
  • action-link-pages.ts (email action-link confirm and result pages): Reject · 驳回, 确认驳回该审批请求?, ⛔ Rejected · 已驳回.
  • @object-ui/app-shell, the designer's approval-node zh panel (FLOW_FIELD_ZH.approval in views/metadata-admin/i18n.ts, premise corrected 6975255638): behavior.help (任何一个驳回在所有模式下都是否决), approvalStatusField.help (待审 / 通过 / 驳回), escalation.action.help (自动驳回) and its option auto_reject 自动拒绝 to 自动驳回 (the stored value auto_reject is unchanged), maxRevisions.help (请求自动驳回前). The table has no zh-Hant counterpart: it is Simplified only, and a zh-Hant session draws the same Simplified table (localizeFlowFields gates on isZhLocale, true for any zh locale), so the pin holds both sessions.

Which key family serves each runtime surface named in the ruling: the inbox page, the record approvals panel, the approval decision panel and the history timeline read approvalsInbox.* (actReject, statusRejected, the confirm and toast keys); the record-page reject lever, its confirm question and success toast are the declared sys_approval_request action, localized from the plugin bundle (the admin-override label wraps that same declared label); the generic object views read the plugin bundle's status and action options.

Kept, with the reason (zh-Hans, mirrored in zh-Hant; 39 lines still carry 拒 in each pack):

  • Access denial or a refusal by the server: form.navigateRefused, list.loadErrorRejectedTitle, the list.userFilters formula-sort hint, console.importMappingsRefused, console.savedViewsRefused, console.settingsView.cryptoRefusalNoSubject, console.settingsView.mapKeyNotOfferedHint, console.assignedWork.transferRefused, auth.device.deny / denying / deniedTitle / denyFailed, oauth.consent.deny / denied, errors.forbidden, preview.changes.securityBlockTitle (+ _one, _other), preview.changes.securityRule.cbpNoRelation / cbpAmbiguousRelation, organization.settings.deleteConfirmDescription, cloudConnection.errors.accessDenied, marketplace.install.dependencyMissing.heading, connectorConnections.redirectUriMissing, element.component.apiRefused.
  • Declining an invitation: organization.invitations.status.rejected, organization.accept.decline / declined / declineFailed.
  • AI tool approvals, a different concept: aiApprovals.statusRejected / reject / outcomeReject / fieldRejectionReason / rejectTitle, console.system.aiApprovals.subtitle, console.ai.toolDenyReason, chatbot.toolState.denied.
  • An upstream provider rejecting a connector credential (not approval): connectorCredentials.statusRejected (被拒绝) and connectorCredentials.rejectedReason.
  • In the designer table (views/metadata-admin/i18n.ts), not approval: the end node's refused outcome (end.outcome option refused 已拒绝, its help) and its end.message 拒绝原因; the API-trigger secret refusal (start.secret unset notice); the bulk-update refusal (update_record.multi help); the audit outcome badge denied 拒绝 (CONSOLE_VALUE_ZH.outcome).

Not touched, already 驳回: the designer branch and flow canvas (engine.inspector.flowEdge.branchReject 驳回, engine.flowCanvas.rejectedEnd 已驳回, the Problems-tab hint that interpolates the branch label), the server notifications (translations/messages.ts, already 驳回 / 駁回, no 拒绝 for approval), 「退回」 (send-back).

Tests

  • New ui/packages/i18n/src/__tests__/approval-reject-wording-35021.test.ts: for zh-Hans and zh-Hant, no approvalsInbox string says 拒绝 / 拒絕 (enumeration asserted non-empty), every key named for the reject decision says 驳回 / 駁回, the decision verb and status read 驳回 / 已驳回, and access denial, invitations and aiApprovals keep 拒绝; plus the agreement case the card's acceptance asks for: the runtime actReject equals the designer's branchReject, and statusRejected equals the canvas rejectedEnd.
  • New packages/plugins/plugin-approvals/src/approval-reject-wording-35021.test.ts: through the real resolvers (translateMetadataDocument, translateObject), zh-CN and zh-Hant read 驳回 / 駁回 for the reject lever, the rejected status and the reject history row; the lever's question and toast say it; no sys_approval_request / sys_approval_action string in either bundle says 拒绝 / 拒絕; the email confirm and result pages say 驳回 and no 拒绝.
  • New ui/packages/app-shell/src/views/metadata-admin/inspectors/flow-node-config.approvalRejectWording-35021.test.ts, beside the 34818 zh-panel pin: for zh-CN and zh-Hant, no string of the approval node panel says 拒绝, from the inspector table and from the served contract (ApprovalNodeConfigSchema JSON Schema), each enumeration asserted non-empty; the four help texts say 驳回 and the auto_reject option reads 自动驳回; control: the end node's refused outcome keeps 已拒绝. A new file named for the card, following this directory's one-file-per-card convention; the 34818 file is a per-card pin, not a shared harness, and the i18n pin cannot import app-shell.
  • Updated pins: approval-status-vocabulary.test.ts zh-CN rejected is 已驳回; approvalOverride-zh-wording-13402.test.ts composes 管理员代为驳回 from the reject lever's label.

Acceptance notes

  • Ablation, one per behaviour, through scripts/ablation-replace.mjs (anchor hit 1 to 0, blob moved, restored to the HEAD blob with git diff HEAD empty): zh-Hans actReject back to 拒绝 turns the ui pin red (4 of 9 failed, including the designer-agreement case); the zh-CN approval_reject label back to 拒绝 turns the plugin pin red (2 of 7 failed); the designer's auto_reject option back to 自动拒绝 turns the designer pin red (6 of 7 failed, the end-node control stays green). No build was involved in any leg: each suite imports the edited file by relative path.
  • Observed, not filed (not one of the three filing classes): the approve wording also differs across surfaces, the plugin bundle saying 已批准 / 批准 (zh-Hant 核准) where the inbox says 已通过 / 通过; outside this card's ruling.

Verification

All readings on head c3e9590d2 (branch merged with origin/main 7d8dcf693), except the ablations: the runtime two on d863192a0, the designer one on c3e9590d2.

Tests
  • pnpm --dir ui exec vitest run packages/i18n/ (verify lock): VERDICT command-exit 0, Test Files 104 passed (104), Tests 1956 passed, 13 skipped.
  • pnpm --filter @objectstack/plugin-approvals exec vitest run --maxWorkers=2 (verify lock): VERDICT command-exit 0, Test Files 123 passed (123), Tests 1748 passed (1748).
  • app-shell, narrowed and declared: the 116 test files under views/metadata-admin that import the designer i18n table or localizeFlowFields, plus every flow-node-config test: VERDICT command-exit 0, Test Files 116 passed (116), Tests 1863 passed, 1 skipped. The whole metadata-admin directory (754 files) was started and stopped after 20 minutes on a shared box; CI's Test UI runs all of app-shell.
  • pnpm --filter @object-ui/app-shell type-check: exit 0 (both programs; the test program lists the new pin).
  • pnpm --filter @objectstack/plugin-approvals typecheck: exit 0, test layer held at the ledgered 321 errors in 8 files, the new test file adds none.
  • pnpm --filter @object-ui/i18n type-check: exit 0.
  • Ablation runs: see Acceptance notes.
Local gates
  • dispatch-gates.mjs --commands on this tree: 71 families; --ran reconciliation: 71 accounted, 70 run with exit 0, 1 NOT MEASURED, 0 unrun.
  • NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET (it reads every package's dist, and this worktree built only the two packages' closures); CI runs it.
  • Exit 0 among them: pnpm check:i18n (10 packages, all bundles in sync), pnpm check:i18n-stale-fill, pnpm check:keyed-text-bounds, pnpm check:role-word, pnpm check:published-files, pnpm check:undeclared-dep-imports, pnpm check:nul-bytes, pnpm check:cross-package-test-inputs, pnpm check:test-source-alias, pnpm check:type-check-debt, node scripts/check-adr-0087-registration.mjs --base origin/main, node scripts/check-closing-keyword-parity.mjs, node scripts/check-issue-citations.mjs, pnpm --dir ui exec vitest run scripts/ (Test Files 171 passed, 2 skipped).
  • pnpm --dir ui check:new-line-citations: 0 new citations.
  • node scripts/pm/overlap-check.mjs: VERDICT clean; feat(account): a Notification Settings page for each person's own notification preferences #35122 shares both locale files and merges cleanly.
  • CI on c3e9590d2: 68 check-runs, 58 success, 10 skipped; all eleven required contexts success.

Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm

Final green head for L1: c3e9590d20de6d29833d3d3550d490d07f563b7b · 2026-11-18T11:31Z

Check-runs on this head: 58 success, 10 skipped, 0 failed, 0 pending. Mergeable: clean. Size +305 −59, 11 files, not governed. Dev reports: #35021 comments 6975204124 (round 1) and 6977264783 (round 2: designer approval-node strings, under Premise corrected 6975255638 and claim amendment 6975277471). Round-2 PR body: comment 6977300049 above.
L1 requested from L1-a. No L2 face (Clause-②: no, Metadata-protocol: none; no packages/spec/src or governed path).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXKtHccbeakAgquNs9

L1 review (#35021) · 2026-11-18T11:34Z

L1: ACCEPT
Head-sha: c3e9590
Read: the full diff at this head against merge base 7d8dcf6 (11 files, +305/−59), with claim 6973678618, claim amendment 6975277471, Premise corrected 6975255638, ruling 6973602227, os-dev reports 6975204124 and 6977264783, and the round-2 body in 6977300049.

Fixes vs Part of. The PR body's first line is Fixes #35021. The card asks for one wording change on the surfaces the ruling names, and this PR makes all of it, so Fixes is right.

Claim file surface. All 11 paths are inside the claim plus amendment 1. The locale packs, the 13402 pin, plugin-approvals/src/** (zh-CN bundle, vocabulary test, action-link-pages.ts), the new files named for the card, and .changeset/ are in the claim. metadata-admin/i18n.ts and the pin beside flow-node-config.zhPanel-34818.test.ts are in amendment 1. Nothing is outside the surface.

Each changeset sentence against the diff. The changeset is new, and main has no .changeset/*35021*.

  • @object-ui/i18n: 21 lines change in each of zh-Hans and zh-Hant. At this head, the zh-Hans approvalsInbox block (lines 4622–4836) holds no 拒. The pack's 拒 count drops from 60 to 39, so the 21 changed lines are the only ones. The zh-Hant hunks mirror them line for line (拒絕 to 駁回).
  • @objectstack/plugin-approvals zh-CN: five leaf values change, and no key is added or dropped. They are the rejected status, the approval_reject label, its description and its successMessage, and the sys_approval_action reject option. The sentence "the zh-Hant bundle already said 駁回" is true: zh-Hant.objects.generated.ts reads 已駁回 / 駁回 at lines 64 and 155–157. No non-test file under plugin-approvals/src still says 拒绝.
  • action-link-pages.ts: the verb, the confirm question and the rejected result title change. The English halves are unchanged.
  • @object-ui/app-shell: five zh strings in FLOW_FIELD_ZH.approval change. The auto_reject key is unchanged, and only its label moves.
  • "Display text only": no en file, stored value or action key is in the diff.
  • The kept-拒绝 list (access denial, invitations, aiApprovals, connector credentials, the designer's end-node refused outcome and the API-key, bulk-update and audit refusals) is consistent with the 39 remaining zh-Hans hits I sampled. The new ui pin asserts the access-denial, invitation and aiApprovals cases.

Tests.

  • The two updated existing pins (approval-status-vocabulary.test.ts and approvalOverride-zh-wording-13402.test.ts) are in the claim. Each change is the wording move only, and the assertion shape stays the same.
  • The three new pins assert a non-empty enumeration before each negative check, so a family that stops resolving cannot pass empty.
  • The ui pin's agreement case ties actReject and statusRejected to the designer's branchReject and rejectedEnd, which is the ruling's point.
  • Ablations: there is one per behaviour, through ablation-replace.mjs, for the runtime pack, the plugin bundle and the designer option. Each turned its pin red and was restored to the HEAD blob (report 6977264783).

Clause-②: no. It is display text, with no authorable key and no narrowing. No TIER_DEFAULT record is owed.

Governance. check-governed-merges.mjs --pr 35175: NOT governed, 364 changed lines, under the human-merge threshold. This is not Tier H.

CI at this head, from check-runs: 58 success and 10 skipped, with none failed or in progress. The PR is mergeable clean.

Must-fix

None.

Should-fix

None.

Notes

  • N1, designer scope. Ruling 6973602227 lists the designer under "does not change", because its branch already said 驳回. The approval-node inspector help came in through the seat's Premise corrected 6975255638 and amendment 6975277471, which apply the ruling's one word to five strings and add no new surface. I read that as the seat's call within the ruling, and I am recording it here so the landing record can see it.
  • N2, zh-Hant regeneration. I did not re-run gen:zh-hant in this review, because opencc-js is not installed in the L1 clone. The report says it was regenerated byte-identical. I checked the 21 zh-Hant hunks one to one against the zh-Hans hunks.
  • N3, PR body. The live body still holds the round-1 text. The round-2 body is in 6977300049, and the seat may apply it before landing.
  • N4, approve wording. The approve wording differs (plugin bundle 已批准 / 批准, inbox 已通过 / 通过). It stays an Acceptance note, as the seat ordered, and it is outside this card.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm

Landing · head c3e9590d20de6d29833d3d3550d490d07f563b7b · 2026-11-18T11:35Z

probe reading
L1 L1-a ACCEPT at this head, 6977392051; no L2 owed (Clause-②: no, no packages/spec/src or governed path)
scope ruling 6973602227; designer approval-node strings by Premise corrected 6975255638 + claim amendment 6975277471 (L1 N1 records it)
check-governed-merges.mjs --pr 35175 NOT governed; 364 changed lines ≤ 3000
CI on head 58 success, 10 skipped, 0 failed; mergeable clean
K (first-parent commits on main since merge base 7d8dcf6) 3 (< 15); the generated zh-Hant pack was regenerated byte-identical on the branch

The PR body keeps its round-1 text (post-stamped refuses a body that starts with Fixes); the round-2 body of record is comment 6977300049. Approve-wording difference (已批准 vs 已通过): Acceptance note only, by the seat's order.
Ready + auto-merge now; the area follows it to MERGED and closes out #35021.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 18, 2026 11:35
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit bfd6b6b Nov 18, 2026
69 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-35021-approval-reject-wording branch November 18, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

审批用词:运行界面的按钮写「拒绝」,流程设计器里写「驳回」,统一成一个

2 participants